Ferguson brands Brexit a ‘child of the DUP’ and says Windsor Framework protects against its ‘worse excesses’